package com.kgc.est.feignService;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@FeignClient(value = "est-provider")
public interface PayOrderService {

    @GetMapping("/pay/aliPay")
    String aliPay(@RequestParam("orderNo") String orderNo);

    @PostMapping("/pay/updatePayOrder")
    String updatePayOrder(@RequestBody Map<String,String>map);
}
